//
//  ZrsLabel.m
//  Get
//
//  Created by ikuaiyue on 15/4/17.
//  Copyright (c) 2015年 kuaiyue. All rights reserved.
//

#import "ZrsLabel.h"

@implementation ZrsLabel
-(id)initWithFrame:(CGRect)frame font:(CGFloat)size color:(UIColor *)color alignment:(NSTextAlignment )alignment isNumber:(BOOL)isNumber
{
    if ([super initWithFrame:frame]) {
//        self.font = font;
         self.font = DEFAULT_FONT(size);
        self.textColor = color;
        self.textAlignment = alignment;
        if (isNumber) {
            self.numberOfLines = 0;
        }
        
    }
    return self;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
